home *** CD-ROM | disk | FTP | other *** search
- Path: cdn_news.telecom.com.au!usenet
- From: David Nottage <DNottage@STNECSS.telecom.com.au>
- Newsgroups: comp.lang.c++,comp.lang.pascal.delphi.misc
- Subject: Re: Calling all API experts !!
- Date: 20 Mar 1996 03:16:54 GMT
- Organization: Sorted, Indexed and Hashed
- Message-ID: <4intb6$lqc@cdn_news.telecom.com.au>
- References: <DoIMG1.F9y@unx.sas.com> <314EC5B0.7C0C@virtus.com>
- NNTP-Posting-Host: tha44.scon.telecom.com.au
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
-
- >The following function will let you read all the keys for a section.
- >Once you have the keys, you can easily get the values. As for
- >documentation on the Windows API, the SDK manuals (also available as
- >online help for most development systems) and "Programming Windows" by
- >Charles Petzold (on the MSDN CD-ROM and recently updated for Windows 95)
- >are your two best bets. Hope this helps.
-
- (code deleted)
-
- Why go to all that trouble, when there's a standard component (and many other
- freeware/shareware) to handle INI files. TINIFile allows you to read the entire section
- using the ReadSection and ReadSectionValues methods.
-
- Also, there is documentation on Windows API calls in WINAPI.HLP, supplied with Delphi. The
- SDK manuals are for C.
-
- Dave
-
-